package cn.tworice.log.dao;


import cn.tworice.log.dao.po.OperationLogDO;
import cn.tworice.mybatis.mapper.BaseMapperX;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogDao extends BaseMapperX<OperationLogDO> {
    @Update("UPDATE ${table} SET deleted=0 WHERE id IN (${arr})")
    int undeleted(@Param("table") String table,@Param("arr") String arr);
}
